x=[3245,234,523,45,2345,234,52,45,245,2,452]
oushu=[]
jishu=[]
i=0
while i<len(x):
    a=x[i]
    if a%2==0:
        #将a放到偶数列表内
        oushu.append(a)

    else:
        #将a放到奇数的列表内
        jishu.append(a)

    i+=1

print(oushu)
print(jishu)











'''

x=[34,2,3,55,44,11,9,0]
even=[]   
odd=[]
while len(x)>0:
    n=x.pop()
    if(n%2==0):
        even.append(n)
    else:
        odd.append(n)
print(even)
print(odd)

'''